-- GENERATED SPELL FOR [Chief Murgut] --


function spell0_12918(pUnit, Event) --@Summon Foulweald Totem Basket,n/a--
pUnit:FullCastSpellOnTarget(20818,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12918', 556, 1)
end

function Sorts_12918(pUnit, Event)
local choix_sorts_12918 = math.random(0, 0)
if choix_sorts_12918 == 0 then
pUnit:RegisterEvent('spell0_12918', 1, 1)
end
end

function mob12918_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12918', math.random(1500, 3000), 1)
end

function mob12918_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12918_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12918_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12918, 1, 'mob12918_Action')
RegisterUnitEvent(12918, 2, 'mob12918_Leave')
RegisterUnitEvent(12918, 3, 'mob12918_Kill')
RegisterUnitEvent(12918, 4, 'mob12918_Die')
